package j10;

public class J11_Ch04_PQ1 {

	public static void main(String[] args) {
		
Song song = new Song("정민이 누나의 손맛", "보다", "얼굴표정이", "포토제닉", "2014/07/22", 1,"\"Dancing Qeen\"");
 System.out.println(song.show());
	}

}

class Song{
	String title;
	String artist;
	String album;
	String composer;
	String year;
	int track;
	String ABBA;
	
	public Song() {}
	public Song(String title,String artist,String album,String composer,String year,int track, String ABBA) {
		this.title = title;
		this.artist = artist;
		this.album = album;
		this.composer = composer;
		this.year = year;
		this.track = track;
		this.ABBA = ABBA;
		
	}
	
	String show(){
		String msg;
		msg = "노래제목 : "+title +"\n";
		msg = msg+"가수 : "+artist+"\n";
		msg = msg+"앨범 제목 : "+album+"\n";
		msg = msg+"작곡가 : "+composer+"\n";
		msg = msg+"발표 년도 : "+year+"\n";
		msg = msg+"트랙 번호 : "+track+"\n";
		msg = msg+"ABBA의 "+ABBA;
		
		return msg;
	}
}